package com.bit.demo;

public class Test {
    private String cpu;
    public String memory;
    public String screen;
    String brand;

    public Test(String cpu, String memory, String screen, String brand) {
        this.cpu = cpu;
        this.memory = memory;
        this.screen = screen;
        this.brand = brand;
    }
    public void Boot(){
        System.out.println(cpu);
        System.out.println("~开机~");
    }
    public void guanji(){
        System.out.println("~关机~");
    }
    public void shangwang(){
        System.out.println("~上网~");
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }
}
